<%@page import="org.apache.commons.lang.StringUtils"%>
<%@page import="org.apache.commons.lang.time.DateFormatUtils"%>
<%@page import="org.springframework.util.CollectionUtils"%>
<%@page import="java.util.Collection"%>
<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%
	TblSiteNews news =  (TblSiteNews)request.getAttribute("news");
	SiteForm form = (SiteForm)request.getAttribute("command");
	String title = StringUtils.isNotBlank(news.getTitle())?news.getTitle():"";
	String content = StringUtils.isNotBlank(news.getContent())?news.getContent():"";
	String newsSource = StringUtils.isNotBlank(news.getNewsSource())?news.getNewsSource():"";
	//String depart = StringUtils.isNotBlank(coreNotice.getDepartName())?(coreNotice.getDepartName()):"";
	String publicTime = (null!=news.getPublicTime())?DateFormatUtils.format(news.getPublicTime().getTime(), "yyyy-MM-dd HH:mm:ss"):"";
	String group = "0";
	String author = StringUtils.isNotBlank(news.getPublicMan())?news.getPublicMan():"";
	
%>



			<div >
				<div class="breadcrumb">
					<div class="bcIcon"></div>
					<ul class="bcNav">
						<li><a href="javascript:XF.Site.requestUrl('/site/news')">管理新闻</a>
							<span class="divider">&rsaquo;</span></li>
						<li>详细信息</li>
					</ul>
				</div>
				<div class="container">
				     <div class="titleBox">
				         <p class="mainTitle" name="top"><%=title%></p>
				         <p class="secondTitle">来源：<%=newsSource %> &nbsp;&nbsp; 发布时间：<%=publicTime %>&nbsp;&nbsp; 编辑：<%=author %></p>
				     </div>
				     <%
	             		if(StringUtils.isNotBlank(news.getNewsAbstract())){
	             		%>
             		   <div class="abstract">摘要：<strong><%=StringUtils.isNotBlank(news.getNewsAbstract())?news.getNewsAbstract():"" %></strong></div>
	             		<%
	             		}
	            	%>
				     <div class="section">
				        <p><%=content %></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
				        <div class="sectionTools"><a href="#top" class="hide">↑返回顶部↑</a></div>
				    </div>
				</div>
	    	</div>
</body>
<script type="text/javascript">
	$(function(){
		//XF.Notice.searchNotice();
	});
</script>
</html>


